package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the IND_PRTC2 database table.
 * 
 */
//@Entity
//@Table(name="IND_PRTC2")
public class IndPrtc2 implements Serializable {
	private static final long serialVersionUID = 1L;
	private String aaTitu;
	private String agntSync;
	private String codPartic;
	private String curPrtc;
	private String direccion;
	private String estado;
	private Date field1;
	private BigDecimal nsGravamen;
	private String nuTitu;
	private String numPlaca;
	private BigDecimal refnumPart;
	private String tiPrtcOrig;
	private String tipoPers;
	private Date tsUltSync;
	private String ubigeo;

    public IndPrtc2() {
    }


	@Column(name="AA_TITU", nullable=false, length=4)
	public String getAaTitu() {
		return this.aaTitu;
	}

	public void setAaTitu(String aaTitu) {
		this.aaTitu = aaTitu;
	}


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="COD_PARTIC", nullable=false, length=3)
	public String getCodPartic() {
		return this.codPartic;
	}

	public void setCodPartic(String codPartic) {
		this.codPartic = codPartic;
	}


	@Column(name="CUR_PRTC", nullable=false, length=14)
	public String getCurPrtc() {
		return this.curPrtc;
	}

	public void setCurPrtc(String curPrtc) {
		this.curPrtc = curPrtc;
	}


	@Column(length=120)
	public String getDireccion() {
		return this.direccion;
	}

	public void setDireccion(String direccion) {
		this.direccion = direccion;
	}


	@Column(nullable=false, length=1)
	public String getEstado() {
		return this.estado;
	}

	public void setEstado(String estado) {
		this.estado = estado;
	}


    @Temporal( TemporalType.DATE)
	public Date getField1() {
		return this.field1;
	}

	public void setField1(Date field1) {
		this.field1 = field1;
	}


	@Column(name="NS_GRAVAMEN", precision=3)
	public BigDecimal getNsGravamen() {
		return this.nsGravamen;
	}

	public void setNsGravamen(BigDecimal nsGravamen) {
		this.nsGravamen = nsGravamen;
	}


	@Column(name="NU_TITU", nullable=false, length=8)
	public String getNuTitu() {
		return this.nuTitu;
	}

	public void setNuTitu(String nuTitu) {
		this.nuTitu = nuTitu;
	}


	@Column(name="NUM_PLACA", length=7)
	public String getNumPlaca() {
		return this.numPlaca;
	}

	public void setNumPlaca(String numPlaca) {
		this.numPlaca = numPlaca;
	}


	@Column(name="REFNUM_PART", nullable=false)
	public BigDecimal getRefnumPart() {
		return this.refnumPart;
	}

	public void setRefnumPart(BigDecimal refnumPart) {
		this.refnumPart = refnumPart;
	}


	@Column(name="TI_PRTC_ORIG", length=4)
	public String getTiPrtcOrig() {
		return this.tiPrtcOrig;
	}

	public void setTiPrtcOrig(String tiPrtcOrig) {
		this.tiPrtcOrig = tiPrtcOrig;
	}


	@Column(name="TIPO_PERS", length=1)
	public String getTipoPers() {
		return this.tipoPers;
	}

	public void setTipoPers(String tipoPers) {
		this.tipoPers = tipoPers;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}


	@Column(length=6)
	public String getUbigeo() {
		return this.ubigeo;
	}

	public void setUbigeo(String ubigeo) {
		this.ubigeo = ubigeo;
	}

}